package com.smcdd.cdb.dbo.cdb_dbo.service.entity;

import android.os.Parcel;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：Administrator on 2017/4/21 14:09
 * 邮箱：zhanghuaiha@gmail.com
 */

public class ContactBean implements Serializable {

    /**
     * code : 200
     * data : [{"name":"女人、玩的是命","img_url":"http://139.196.18.81/file/truelies/head_img/jpg601.jpg"},{"name":"孤单*无名指 ","img_url":"http://139.196.18.81/file/truelies/head_img/jpg419.jpg"},{"name":"昂贵的、背影 ","img_url":"http://139.196.18.81/file/truelies/head_img/jpg726.jpg"},{"name":"思念成瘾","img_url":"http://139.196.18.81/file/truelies/head_img/jpg507.jpg"},{"name":"你说没对象你媳妇造么 ","img_url":"http://139.196.18.81/file/truelies/head_img/jpg1011.jpg"},{"name":"____落盡殘殇","img_url":"http://139.196.18.81/file/truelies/head_img/jpg911.jpg"}]
     */

    private int code;
    private List<DataBean> data;

    protected ContactBean(Parcel in) {
        code = in.readInt();
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }


    public static class DataBean implements Serializable {
        /**
         * name : 女人、玩的是命
         * img_url : http://139.196.18.81/file/truelies/head_img/jpg601.jpg
         */

        private String name;
        private String img_url;
        private String id;
        private String sortLetters;  //显示数据拼音的首字母

        public String getName() {
            return name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setName(String name) {

            this.name = name;
        }

        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }
        public String getSortLetters() {
            return sortLetters;
        }
        public void setSortLetters(String sortLetters) {
            this.sortLetters = sortLetters;
        }
    }
}
